﻿body {
    background: #FFFFFF;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    overflow: hidden;
}

.jq-toast-single {
    width: 300px;
}

#header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 43px;
    background: #29A85C;
    color: #FFFFFF;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

    #header a {
        color: #FFFFFF;
        font-size: 12px;
        margin: 20px;
        float: left;
        font-weight: bold;
        -webkit-font-smoothing: antialiased;
        line-height: 5px;
        white-space: nowrap;
    }

    #header .header-right {
        float: right;
    }

    #header #lnk-records, #lnk-manager, #lnk-designer, #lnk-editor, #lnk-approval, #lnk-users, #lnk-profiles, #lnk-notifications {
        display: none;
    }

/*lang*/
#lang {
    margin-top: 10px;
    margin-right: 20px;
    color: #000;
}

    #lang .lang {
        cursor: pointer;
        padding-right: 3px;
        padding-left: 3px;
    }

        #lang .lang:hover {
            opacity: .8;
        }

.dropdown-menu {
    min-width: 90px;
}

#lnk-notifications {
    margin: 0 !important;
    margin-top: 10px !important;
}

#wf-approval {
    position: absolute;
    top: 45px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}

#wf-container {
    position: relative;
    min-width: 600px;
    min-height: 400px;
    width: 100%;
    height: 100%;
}

#wf-cmd {
    position: absolute;
    top: 10px;
    right: 10px;
}

    #wf-cmd button {
        margin-right: 5px;
        width: 70px;
    }

#wf-notifier {
    position: absolute;
    top: 10px;
    right: 470px;
    left: 10px;
}

    #wf-notifier #wf-notifier-text {
        width: 100%;
    }

#wf-search {
    position: absolute;
    top: 40px;
    right: 14px;
    left: 10px;
}

    #wf-search #wf-search-text-container {
        position: absolute;
        right: 79px;
        left: 0;
    }

        #wf-search #wf-search-text-container #wf-search-text {
            width: 100%;
        }

    #wf-search #wf-search-action {
        position: absolute;
        right: 0px;
        width: 74px;
    }

/* workflows */
#wf-workflows {
    position: absolute;
    top: 250px;
    bottom: 0;
    right: 10px;
    left: 10px;
}

    #wf-workflows #wf-workflows-table {
        display: block;
        table-layout: fixed;
        margin: 0;
    }

    #wf-workflows thead, tbody {
        display: block;
    }

    #wf-workflows tbody {
        height: calc(100% - 40px);
        overflow-y: auto;
        overflow-x: auto;
    }

    #wf-workflows .thead-dark {
        background: #272727;
        color: #EEEEEE;
    }

    #wf-workflows tbody tr:hover {
        background: #EEEEEE;
    }

    #wf-workflows #wf-workflows-table .wf-id {
        width: 45px;
    }

    #wf-workflows #wf-workflows-table .wf-n {
        width: 200px;
    }

    #wf-workflows #wf-workflows-table .wf-lt {
        width: 100px;
    }

    #wf-workflows #wf-workflows-table .wf-e {
        width: 75px;
    }

    #wf-workflows #wf-workflows-table .wf-a {
        width: 75px;
    }

    #wf-workflows #wf-workflows-table tbody tr:hover {
        cursor: pointer;
    }

    #wf-workflows #wf-workflows-table .selected, #wf-workflows #wf-workflows-table .selected:hover {
        background-color: #ffb347;
    }

/* jobs */

#wf-jobs {
    position: absolute;
    top: 75px;
    bottom: calc(100% - 250px);
    right: 10px;
    left: 10px;
    overflow: hidden;
}

    #wf-jobs #wf-jobs-table {
        display: block;
        table-layout: fixed;
        margin: 0;
    }

    #wf-jobs thead, tbody {
        display: block;
    }

    #wf-jobs tbody {
        overflow-y: auto;
        overflow-x: auto;
    }

    #wf-jobs .thead-dark {
        background: #272727;
        color: #EEEEEE;
    }

    #wf-jobs tbody tr:hover {
        background: #EEEEEE;
    }

    #wf-jobs #wf-jobs-table .wf-jobId {
        width: 320px;
    }

    #wf-jobs #wf-jobs-table .wf-n {
        width: 200px;
    }

    #wf-jobs #wf-jobs-table .wf-d {
        width: 500px;
    }

    #wf-jobs #wf-jobs-table .wf-startedOn {
        width: 200px;
    }

    #wf-jobs #wf-jobs-table tbody tr:hover {
        cursor: pointer;
    }

    #wf-jobs #wf-jobs-table .selected, #wf-jobs #wf-jobs-table .selected:hover {
        background-color: #ffb347;
    }
